<?php
App::uses('AppModel', 'Model');
App::uses('AuthComponent', 'Controller/Component');

class ShopLocation extends AppModel {

	public function findByShopId($id=null){
		return $this->find('all', array(
			'conditions' => array('shop_id' => $id,'deleted'=>0)
			));
	}
}
